<%@page import="com.bill.common.user.service.IRegisterUserService"%>
<%@page import="com.bill.common.system.dto.GenealogicalTreeDTO"%>
<%@page import="com.bill.common.user.dto.AccountDTO"%>
<%@page import="com.bill.common.user.service.IAccountService"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ include file="../language.jsp" %>

<%
if(session.getAttribute("password2")==null){
	/* response.sendRedirect( "login2.jsp?pageUrl=user/genealogy.jsp");
	return; */
}
//genealogy.jsp?loginName=${session.loginName}
ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(getServletContext());
IRegisterUserService registerUserService = (IRegisterUserService)ac.getBean("registerUserService");
String loginName = (String)session.getAttribute("loginName");

if(request.getParameter("loginName")!=null && (String)request.getParameter("loginName")!=""){
	loginName = request.getParameter("loginName");
}
GenealogicalTreeDTO genealogicalTreeDTO = registerUserService.findGenealogy(loginName);
request.setAttribute("genealogicalTreeDTO",genealogicalTreeDTO);
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><fmt:message key="i18n.systemTu"/>-<fmt:message key="i18n.title"/></title>
<link rel="shortcut icon" href="../index/favicon.png" />
<link rel="stylesheet" type="text/css" href="css/style1.css">
<script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="../scripts/user/common.js"></script>
</head>
<body>
	<div class="top2">
		<a href="#" class="top2L" ><fmt:message key="i18n.yewuManage"/>></a>
		<a href="#" class="top2L" ><fmt:message key="i18n.systemTu"/>></a>
	</div>
	<div class="cont">
		<form action="genealogy.jsp" name="genealogyJump" method="post">
			<div class="tx_Top">
				<input class="jgt_ss" name="loginName" type="text" value="" id="genealogyJump" />
	            <a class="jgt_ss1" href="javascript:document.genealogyJump.submit()">
					&nbsp;<fmt:message key="title.jump" />&nbsp;
				</a>
				<a class="jgt_ss2" href="genealogy.jsp?loginName=${session.loginName}">
					&nbsp;<fmt:message key="title.mysystemTu" />&nbsp;
				</a>
				<c:if test="${session.loginName ne genealogicalTreeDTO.level1[0].loginName and genealogicalTreeDTO.level1[0].loginName ne null}">
				
				<a class="jgt_ss2" href="genealogy.jsp?loginName=${genealogicalTreeDTO.level1[0].contactNo}">
					<fmt:message key="title.upper" />
				</a>
				</c:if>
				<label style="display: none;" class="levelColor">
					<a class="L1"><fmt:message key="L1" />|</a>
					<a class="L2"><fmt:message key="L2" />|</a>
					<a class="L3"><fmt:message key="L3" />|</a>
					<a class="L4"><fmt:message key="L4" />|</a>
					<a class="L5"><fmt:message key="L5" />|</a>
					<a class="L6"><fmt:message key="L6" /></a>
				</label>
			</div>
		</form>
		<div class="jgt_BoxT"></div>
		<div class="jgt_Box">
			<!-- 1层 start -->
			<div class="jgt_Box1">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top pedigTit${empty genealogicalTreeDTO.level1[0].subAccount ? '':genealogicalTreeDTO.level1[0].subAccount }">
						<c:if test="${genealogicalTreeDTO.level1[0].userName ne null and genealogicalTreeDTO.level1[0].userName ne ''}">
							<a title="${genealogicalTreeDTO.level1[0].userName}" class="${genealogicalTreeDTO.level1[0].registerLevel}" href="genealogy.jsp?loginName=${genealogicalTreeDTO.level1[0].loginName}">
							${genealogicalTreeDTO.level1[0].loginName}
							
							[<fmt:message key="${genealogicalTreeDTO.level1[0].registerLevel}" />-
							<fmt:message key="${genealogicalTreeDTO.level1[0].status}" />]
							</a>
						</c:if>
						<c:if test="${genealogicalTreeDTO.level1[0].userName eq null or genealogicalTreeDTO.level1[0].userName eq ''}">
							<a>不属于您构架图内</a>
						</c:if>
					</p>
					<div class="jgt_BoxS_top1 pedList${empty genealogicalTreeDTO.level1[0].subAccount ? '':genealogicalTreeDTO.level1[0].subAccount }">
						<p class="jgt_BoxS_top_1 ">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"><fmt:formatNumber value="${genealogicalTreeDTO.level1[0].leftSum /500}" pattern="#0"/></p>
						<p class="jgt_BoxS_top_1"><fmt:formatNumber value="${genealogicalTreeDTO.level1[0].rightSum /500}" pattern="#0"/></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"><fmt:formatNumber value="${genealogicalTreeDTO.level1[0].leftPoint /500}" pattern="#0"/></p>
						<p class="jgt_BoxS_top_1"><fmt:formatNumber value="${genealogicalTreeDTO.level1[0].rightPoint /500}" pattern="#0"/></p>
					</div>
				</div>
			</div>
		<!-- 1层 end -->
		</div>
		<div class="jgt_Box">
			<!-- 2层 start -->
			<c:if test="${not empty genealogicalTreeDTO.level2[0].status}">
			<div class="jgt_Box2">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top pedigTit${empty genealogicalTreeDTO.level2[0].subAccount ? '':genealogicalTreeDTO.level2[0].subAccount }">
						<a  title="${genealogicalTreeDTO.level2[0].userName}" class="${genealogicalTreeDTO.level2[0].registerLevel}" href="genealogy.jsp?loginName=${genealogicalTreeDTO.level2[0].loginName}">
						${genealogicalTreeDTO.level2[0].loginName}
						[<fmt:message key="${genealogicalTreeDTO.level2[0].registerLevel}" />-
						<fmt:message key="${genealogicalTreeDTO.level2[0].status}" />
						]
						</a>
					</p>
					<div class="jgt_BoxS_top1 pedList${empty genealogicalTreeDTO.level2[0].subAccount ? '':genealogicalTreeDTO.level2[0].subAccount }">
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"><fmt:formatNumber value="${genealogicalTreeDTO.level2[0].leftSum /500}" pattern="#0"/></p>
						<p class="jgt_BoxS_top_1"><fmt:formatNumber value="${genealogicalTreeDTO.level2[0].rightSum /500}" pattern="#0"/></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"><fmt:formatNumber value="${genealogicalTreeDTO.level2[0].leftPoint /500}" pattern="#0"/></p>
						<p class="jgt_BoxS_top_1"><fmt:formatNumber value="${genealogicalTreeDTO.level2[0].rightPoint /500}" pattern="#0"/></p>
					</div>
				</div>
			</div>
			</c:if>
			
			<c:if test="${genealogicalTreeDTO.level2[0].loginName eq 'LEFT' or genealogicalTreeDTO.level2[0].loginName eq 'NULL'}">
				<div class="jgt_Box2">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top">
						空位
					</p>
					<div class="jgt_BoxS_top1" >
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
				</div>
				</div>
			</c:if>
			
			<c:if test="${not empty genealogicalTreeDTO.level2[1].status}">
			<div class="jgt_Box2">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top pedigTit${empty genealogicalTreeDTO.level2[1].subAccount ? '':genealogicalTreeDTO.level2[1].subAccount }">
						<a title="${genealogicalTreeDTO.level2[1].userName}" class="${genealogicalTreeDTO.level2[1].registerLevel}" href="genealogy.jsp?loginName=${genealogicalTreeDTO.level2[1].loginName}">
						${genealogicalTreeDTO.level2[1].loginName}
						[<fmt:message key="${genealogicalTreeDTO.level2[1].registerLevel}" />-
						<fmt:message key="${genealogicalTreeDTO.level2[1].status}" />
						]
						</a>
					</p>
					<div class="jgt_BoxS_top1 pedList${empty genealogicalTreeDTO.level2[1].subAccount ? '':genealogicalTreeDTO.level2[1].subAccount }">
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"><fmt:formatNumber value="${genealogicalTreeDTO.level2[1].leftSum /500}" pattern="#0"/></p>
						<p class="jgt_BoxS_top_1"><fmt:formatNumber value="${genealogicalTreeDTO.level2[1].rightSum /500}" pattern="#0"/></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"><fmt:formatNumber value="${genealogicalTreeDTO.level2[1].leftPoint /500}" pattern="#0"/></p>
						<p class="jgt_BoxS_top_1"><fmt:formatNumber value="${genealogicalTreeDTO.level2[1].rightPoint /500}" pattern="#0"/></p>
					</div>
				</div>
			</div>
			</c:if>
			
			<c:if test="${genealogicalTreeDTO.level2[1].loginName eq 'RIGHT' or genealogicalTreeDTO.level2[1].loginName eq 'NULL'}">
				<div class="jgt_Box2">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top">
						空位
					</p>
					<div class="jgt_BoxS_top1" >
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
				</div>
				</div>
			</c:if>
			
			<!-- 2层 end -->
		</div>
		<div class="jgt_Box">
			<!-- 3层 start -->
			<c:if test="${not empty genealogicalTreeDTO.level3[0].status}">
			<div class="jgt_Box3">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top pedigTit${empty genealogicalTreeDTO.level3[0].subAccount ? '':genealogicalTreeDTO.level3[0].subAccount }">
						<a title="${genealogicalTreeDTO.level3[0].userName}" class="${genealogicalTreeDTO.level3[0].registerLevel}" href="genealogy.jsp?loginName=${genealogicalTreeDTO.level3[0].loginName}">
						${genealogicalTreeDTO.level3[0].loginName}
						[<fmt:message key="${genealogicalTreeDTO.level3[0].registerLevel}" />-
						<fmt:message key="${genealogicalTreeDTO.level3[0].status}" />
						]
						</a>
					</p>
					<div class="jgt_BoxS_top1 pedList${empty genealogicalTreeDTO.level3[0].subAccount ? '':genealogicalTreeDTO.level3[0].subAccount }">
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"><fmt:formatNumber value="${genealogicalTreeDTO.level3[0].leftSum /500}" pattern="#0"/></p>
						<p class="jgt_BoxS_top_1"><fmt:formatNumber value="${genealogicalTreeDTO.level3[0].rightSum /500}" pattern="#0"/></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"><fmt:formatNumber value="${genealogicalTreeDTO.level3[0].leftPoint /500}" pattern="#0"/></p>
						<p class="jgt_BoxS_top_1"><fmt:formatNumber value="${genealogicalTreeDTO.level3[0].rightPoint /500}" pattern="#0"/></p>
					</div>
				</div>
			</div>
			</c:if>
			
			<c:if test="${genealogicalTreeDTO.level3[0].loginName eq 'LEFT' or genealogicalTreeDTO.level3[0].loginName eq 'NULL'}">
				<div class="jgt_Box3">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top">
						空位
					</p>
					<div class="jgt_BoxS_top1" >
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
				</div>
				</div>
			</c:if>
			
			
			<c:if test="${not empty genealogicalTreeDTO.level3[1].status}">
			<div class="jgt_Box3">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top pedigTit${empty genealogicalTreeDTO.level3[1].subAccount ? '':genealogicalTreeDTO.level3[1].subAccount }">
						<a title="${genealogicalTreeDTO.level3[1].userName}" class="${genealogicalTreeDTO.level3[1].registerLevel}" href="genealogy.jsp?loginName=${genealogicalTreeDTO.level3[1].loginName}">
						${genealogicalTreeDTO.level3[1].loginName}
						
						[<fmt:message key="${genealogicalTreeDTO.level3[1].registerLevel}" />-
						<fmt:message key="${genealogicalTreeDTO.level3[1].status}" />
						]
						
						</a>
					</p>
					<div class="jgt_BoxS_top1 pedList${empty genealogicalTreeDTO.level3[1].subAccount ? '':genealogicalTreeDTO.level3[1].subAccount }">
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"><fmt:formatNumber value="${genealogicalTreeDTO.level3[1].leftSum /500}" pattern="#0"/></p>
						<p class="jgt_BoxS_top_1"><fmt:formatNumber value="${genealogicalTreeDTO.level3[1].rightSum /500}" pattern="#0"/></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"><fmt:formatNumber value="${genealogicalTreeDTO.level3[1].leftPoint /500}" pattern="#0"/></p>
						<p class="jgt_BoxS_top_1"><fmt:formatNumber value="${genealogicalTreeDTO.level3[1].rightPoint /500}" pattern="#0"/></p>
					</div>
				</div>
			</div>
			</c:if>
			
			<c:if test="${genealogicalTreeDTO.level3[1].loginName eq 'RIGHT' or genealogicalTreeDTO.level3[1].loginName eq 'NULL'}">
				<div class="jgt_Box3">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top">
						空位
					</p>
					<div class="jgt_BoxS_top1" >
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
				</div>
				</div>
			</c:if>
			
			<!-- 3层2  -->
			<c:if test="${not empty genealogicalTreeDTO.level3[2].status}">
			<div class="jgt_Box3">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top pedigTit${empty genealogicalTreeDTO.level3[2].subAccount ? '':genealogicalTreeDTO.level3[2].subAccount }">
						<a title="${genealogicalTreeDTO.level3[2].userName}" class="${genealogicalTreeDTO.level3[2].registerLevel}" href="genealogy.jsp?loginName=${genealogicalTreeDTO.level3[2].loginName}">
						${genealogicalTreeDTO.level3[2].loginName}
						[<fmt:message key="${genealogicalTreeDTO.level3[2].registerLevel}" />-
						<fmt:message key="${genealogicalTreeDTO.level3[2].status}" />
						]
						</a>
					</p>
					<div class="jgt_BoxS_top1 pedList${empty genealogicalTreeDTO.level3[2].subAccount ? '':genealogicalTreeDTO.level3[2].subAccount }">
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2">${genealogicalTreeDTO.level3[2].leftSum /500}</p>
						<p class="jgt_BoxS_top_1">${genealogicalTreeDTO.level3[2].rightSum /500}</p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2">${genealogicalTreeDTO.level3[2].leftPoint /500}</p>
						<p class="jgt_BoxS_top_1">${genealogicalTreeDTO.level3[2].rightPoint /500}</p>
					</div>
				</div>
			</div>
			</c:if>
			
			<c:if test="${genealogicalTreeDTO.level3[2].loginName eq 'LEFT' or genealogicalTreeDTO.level3[2].loginName eq 'NULL'}">
				<div class="jgt_Box3">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top">
						空位
					</p>
					<div class="jgt_BoxS_top1" >
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
				</div>
				</div>
			</c:if>
			
			
			<c:if test="${not empty genealogicalTreeDTO.level3[3].status}">
			<div class="jgt_Box3">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top" pedigTit${empty genealogicalTreeDTO.level3[3].subAccount ? '':genealogicalTreeDTO.level3[3].subAccount }>
						<a title="${genealogicalTreeDTO.level3[3].userName}" class="${genealogicalTreeDTO.level3[3].registerLevel}" href="genealogy.jsp?loginName=${genealogicalTreeDTO.level3[3].loginName}">
						${genealogicalTreeDTO.level3[3].loginName}
						[<fmt:message key="${genealogicalTreeDTO.level3[3].registerLevel}" />-
						<fmt:message key="${genealogicalTreeDTO.level3[3].status}" />
						]
						</a>
					</p>
					<div class="jgt_BoxS_top1 pedList${empty genealogicalTreeDTO.level3[3].subAccount ? '':genealogicalTreeDTO.level3[3].subAccount }">
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.left" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2">${genealogicalTreeDTO.level3[3].leftSum /500}</p>
						<p class="jgt_BoxS_top_1">${genealogicalTreeDTO.level3[3].rightSum /500}</p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2">${genealogicalTreeDTO.level3[3].leftPoint /500}</p>
						<p class="jgt_BoxS_top_1">${genealogicalTreeDTO.level3[3].rightPoint /500}</p>
					</div>
				</div>
			</div>
			</c:if>
			
			<c:if test="${genealogicalTreeDTO.level3[3].loginName eq 'RIGHT' or genealogicalTreeDTO.level3[3].loginName eq 'NULL'}">
				<div class="jgt_Box3">
				<div class="jgt_BoxS">
					<p class="jgt_BoxS_top">
						空位
					</p>
					<div class="jgt_BoxS_top1" >
						<p class="jgt_BoxS_top_1">#</p>
						<p class="jgt_BoxS_top_2"><fmt:message key="i18n.left" /></p>
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.right" /></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.all" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
					<div class="jgt_BoxS_topC">
						<p class="jgt_BoxS_top_1"><fmt:message key="i18n.surplus" /></p>
						<p class="jgt_BoxS_top_2"></p>
						<p class="jgt_BoxS_top_1"></p>
					</div>
				</div>
				</div>
			</c:if>
			
			
		</div>
	</div>




</body>
</html>